using System;

namespace gtalk
{
    /// <summary>
    /// Summary description for Class1.
    /// </summary>
    class mainClass
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            //new Authentication().Login();
            //Console.Read();

            Jabber jabber = new Jabber();
            jabber.ConnectServer();

            string msgBrodcastStr = "";
            while ((msgBrodcastStr = Console.ReadLine()) != "exit")
            {
                jabber.BrodCast(msgBrodcastStr);
            }
        }
    }
}
